package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopCommodityType;
import com.woniuxy.common.entity.ShopCommodityTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopCommodityTypeMapper {
    long countByExample(ShopCommodityTypeExample example);

    int deleteByExample(ShopCommodityTypeExample example);

    int deleteByPrimaryKey(String typeId);

    int insert(ShopCommodityType record);

    int insertSelective(ShopCommodityType record);

    List<ShopCommodityType> selectByExample(ShopCommodityTypeExample example);

    ShopCommodityType selectByPrimaryKey(String typeId);

    int updateByExampleSelective(@Param("record") ShopCommodityType record, @Param("example") ShopCommodityTypeExample example);

    int updateByExample(@Param("record") ShopCommodityType record, @Param("example") ShopCommodityTypeExample example);

    int updateByPrimaryKeySelective(ShopCommodityType record);

    int updateByPrimaryKey(ShopCommodityType record);
}